package com.rzl.expense.expense.mapper;

import java.util.List;
import com.rzl.expense.expense.domain.RentBillamount;
import org.apache.ibatis.annotations.Param;

/**
 * 房租账单汇总Mapper接口
 * 
 * @author expense
 * @date 2025-03-11
 */
public interface RentBillamountMapper 
{
    /**
     * 查询房租账单汇总
     * 
     * @param billamountId 房租账单汇总主键
     * @return 房租账单汇总
     */
    public RentBillamount selectRentBillamountByBillamountId(String billamountId);

    /**
     * 查询房租账单汇总列表
     * 
     * @param rentBillamount 房租账单汇总
     * @return 房租账单汇总集合
     */
    public List<RentBillamount> selectRentBillamountList(RentBillamount rentBillamount);

    /**
     * 新增房租账单汇总
     * 
     * @param rentBillamount 房租账单汇总
     * @return 结果
     */
    public int insertRentBillamount(RentBillamount rentBillamount);

    /**
     * 修改房租账单汇总
     * 
     * @param rentBillamount 房租账单汇总
     * @return 结果
     */
    public int updateRentBillamount(RentBillamount rentBillamount);

    /**
     * 删除房租账单汇总
     * 
     * @param billamountId 房租账单汇总主键
     * @return 结果
     */
    public int deleteRentBillamount(@Param("startDate") String startDate, @Param("endDate") String endDate);

    /**
     * 批量删除房租账单汇总
     * 
     * @param billamountIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRentBillamountByBillamountIds(String[] billamountIds);

    public void batchRentBillamount(List<RentBillamount> list);

}
